Java Server Side Programming: The Conceptual Foundation by Mukesh Prasad

Java Server Side Programming: The Conceptual Foundation by Mukesh Prasad

Author:Mukesh Prasad [Prasad, Mukesh]
Language: eng
Format: epub
Published: 2013-12-25T18:30:00+00:00


<%

java.util.Date date = new java.util.Date();

%>

<HTML>

<BODY>

<P>The time is now <%= date %>

</BODY>

</HTML>

Here the <% and %> characters are enclosing a Java statement that declares a date variable. Later on, we evaluate the date variable as a single expression by enclosing it in <%= and %> characters.

Implementation strategy for MyVeryOwn Server Pages

So how would we implement such a technology, using what we already have?

Well, we already have MyWeblets available, which is our foundation technology. So what we need to do is, to turn an MSP into a MyWeblet. Instead of a person writing the MyWeblet code, we just need an automatic way to turn an MSP into a MyWeblet.

It is not really that hard a task. What we have to do is to take the above HTML, and turn it into a doRequest method that looks something like



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.